home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / Constraint.z / Constraint
Encoding:
Text File  |  2003-11-18  |  5.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _C_o_n_s_t_r_a_i_n_t - The Constraint widget class
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       #include <Xm/Xm.h>
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.       _C_o_n_s_t_r_a_i_n_t widgets maintain additional state data for    each
  16.       child.  For example, client-defined constraints on the
  17.       child's geometry may be specified.
  18.  
  19.       When a constrained composite widget defines constraint
  20.       resources, all of that widget's children inherit all of
  21.       those    resources as their own.     These constraint resources
  22.       are set and read just    the same as any    other resources
  23.       defined for the child.  This resource    inheritance extends
  24.       exactly one generation down, which means only    the first-
  25.       generation children of a constrained composite widget
  26.       inherit the parent widget's constraint resources.
  27.  
  28.       Because constraint resources are defined by the parent
  29.       widgets and not the children,    the child widgets never
  30.       directly use the constraint resource data.  Instead, the
  31.       parents use constraint resource data to attach child-
  32.       specific data    to children.
  33.  
  34.     CCCCllllaaaasssssssseeeessss
  35.       Constraint inherits behavior and resources from _C_o_m_p_o_s_i_t_e
  36.       and _C_o_r_e.
  37.  
  38.       The class pointer is _c_o_n_s_t_r_a_i_n_t_W_i_d_g_e_t_C_l_a_s_s.
  39.  
  40.       The class name is _C_o_n_s_t_r_a_i_n_t.
  41.  
  42.     NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
  43.       Constraint defines no    new resources.
  44.  
  45.     IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
  46.       Constraint inherits behavior and resources from _C_o_m_p_o_s_i_t_e
  47.       and _C_o_r_e.  The following table defines a set of widget
  48.       resources used by the    programmer to specify data.  The
  49.       programmer can also set the resource values for the
  50.       inherited classes to set attributes for this widget.    To
  51.       reference a resource by name or by class in a    .Xdefaults
  52.       file,    remove the _X_m_N or _X_m_C prefix and use the remaining
  53.       letters.  To specify one of the defined values for a
  54.       resource in a    .Xdefaults file, remove    the _X_m prefix and use
  55.       the remaining    letters    (in either lowercase or    uppercase, but
  56.       include any underscores between words).  The codes in    the
  57.       access column    indicate if the    given resource can be set at
  58.       creation time    (C), set by using _X_t_S_e_t_V_a_l_u_e_s (S), retrieved
  59.       by using _X_t_G_e_t_V_a_l_u_e_s (G), or is not applicable (N/A).
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt((((3333XXXX))))
  71.  
  72.  
  73.  
  74.                            CCCCoooorrrreeee    RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  75.      NNNNaaaammmmeeee                 CCCCllllaaaassssssss                 TTTTyyyyppppeeee          DDDDeeeeffffaaaauuuulllltttt             AAAAcccccccceeeessssssss
  76.      ______________________________________________________________________________________________________________
  77.      XmNaccelerators             XmCAccelerators             XtAccelerators   dynamic             CSG
  78.      XmNancestorSensitive         XmCSensitive             Boolean          dynamic             G
  79.      XmNbackground             XmCBackground             Pixel          dynamic             CSG
  80.      XmNbackgroundPixmap         XmCPixmap                 Pixmap          XmUNSPECIFIED_PIXMAP   CSG
  81.      XmNborderColor             XmCBorderColor             Pixel          XtDefaultForeground    CSG
  82.      XmNborderPixmap             XmCPixmap                 Pixmap          XmUNSPECIFIED_PIXMAP   CSG
  83.      XmNborderWidth             XmCBorderWidth             Dimension          1                 CSG
  84.      XmNcolormap             XmCColormap             Colormap          dynamic             CG
  85.      XmNdepth                 XmCDepth                 int          dynamic             CG
  86.      XmNdestroyCallback             XmCCallback             XtCallbackList   NULL             C
  87.      XmNheight                 XmCHeight                 Dimension          dynamic             CSG
  88.      XmNinitialResourcesPersistent   XmCInitialResourcesPersistent   Boolean          True             C
  89.      XmNmappedWhenManaged         XmCMappedWhenManaged         Boolean          True             CSG
  90.      XmNscreen                 XmCScreen                 Screen *          dynamic             CG
  91.      XmNsensitive             XmCSensitive             Boolean          True             CSG
  92.      XmNtranslations             XmCTranslations             XtTranslations   dynamic             CSG
  93.      XmNwidth                 XmCWidth                 Dimension          dynamic             CSG
  94.      XmNx                 XmCPosition             Position          0                 CSG
  95.      XmNy                 XmCPosition             Position          0                 CSG
  96.  
  97.  
  98.     TTTTrrrraaaannnnssssllllaaaattttiiiioooonnnnssss
  99.       There    are no translations for    Constraint.
  100.  
  101.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  102.       _C_o_m_p_o_s_i_t_e(_3_X)    and _C_o_r_e(_3_X).
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 11/11/03)
  130.  
  131.  
  132.  
  133.